﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibNiconico.NiconicoApi.Internal;
using System.Xml.Linq;

namespace LibNiconico.NiconicoApi.Videos.Thumb
{

    /// <summary>
    /// ニコニコ動画Thumb
    /// </summary>
    public sealed class NicoVideoThumbResponse 
    {
        /// <summary>
        /// 動画Thumb
        /// </summary>
        public XDocument Thumb{get;private set;}

        private NicoVideoThumbResponse(XDocument document)
        {
            Thumb = document;
        }

        internal static NicoVideoThumbResponse Parse(XDocument document)
        {
            return new NicoVideoThumbResponse(document);
        }
    }
}
